package com.cloudweb.oa.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDate;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author fgf
 * @since 2024-05-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class OaMessageDept extends Model<OaMessageDept> {

    private static final long serialVersionUID=1L;

    private Long id;

    private String deptCode;

    private Boolean agented;

    private String agentDeptCode;

    private LocalDate agentDate;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
